#!/usr/bin/env python
#This file is part of Nereid.  The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
from setuptools import setup, find_packages
import nereid

major_version, minor_version, _ = nereid.__version__.split('.', 2)
major_version = int(major_version)
minor_version = int(minor_version)

setup(name='nereid',
    version=nereid.__version__,
    description='Web Framework for Tryton',
    author='Open Labs Business Solutions',
    author_email='info@openlabs.co.in',
    url='http://www.openlabs.co.in/',
    download_url="http://downloads.openlabs.co.in/" + \
            nereid.__version__.rsplit('.', 1)[0] + '/',
    packages=find_packages(),
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Plugins',
        'Intended Audience :: Developers',
        'Intended Audience :: Financial and Insurance Industry',
        'Intended Audience :: Legal Industry',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Office/Business',
    ],
    license='GPL-3',
    install_requires=[
        'werkzeug >= 0.6',
    ],
    extras_require={
        'trytond': ['trytond >= %s.%s, < %s.%s' % 
            (major_version, minor_version, major_version, minor_version + 1)],
    },
    test_suite='nereid.tests',
)
